import { session } from "./session";
export function magicUser(): User {
  return session('magicUser') || (session('magic') || {}).user
}